class ChangeVideolinkType < ActiveRecord::Migration
  def self.up
    execute "ALTER TABLE `ecases` CHANGE `video_link` `video_link` MEDIUMTEXT NULL DEFAULT NULL";
    execute "ALTER TABLE `events` CHANGE `video_link` `video_link` MEDIUMTEXT NULL DEFAULT NULL";
  end

  def self.down
    execute "ALTER TABLE `ecases` CHANGE `video_link` `video_link` VARCHAR(255) NULL DEFAULT NULL";
    execute "ALTER TABLE `events` CHANGE `video_link` `video_link` VARCHAR(255) NULL DEFAULT NULL"; 
  end
end
